#include <stdio.h>

int main()
{    
    int train, winnings;
    printf("输入train:");
    scanf("%d", &train);
    switch(train) {
        case 17:
            winnings = winnings + 50;
            break;
        case 65:
            puts("头等奖!");
            winnings = winnings + 80;
        case 12:
            winnings = winnings + 20;
            break;
        default:
            winnings = 0;
    }
    printf("%d\n", winnings);
    return 0;
}